package com.matt.domain.meeting;

import com.matt.commons.model.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2018/6/28
 * *******************************
 */
@Data
@Entity
@Table(name = "meeting_type")
@EqualsAndHashCode(callSuper = true)
public class MeetingType extends Model {

    @Column(columnDefinition = "varchar(255) COMMENT '名称'")
    private String name;

    @Column(columnDefinition = "int default 0 COMMENT '状态，0启用，1，禁用'")
    private Integer status = 0;

    @Column(columnDefinition = "DEFAULT NOW() COMMENT '创建时间'")
    private Date createTime;
}
